﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Pheonix.Fashionzoomer.BLL;

public partial class control_VerticalAdvertise : System.Web.UI.UserControl
{
    public string html;
    private StaticContentType _contentType;

    public StaticContentType ContentType
    {
        get { return _contentType; }
        set { _contentType = value; }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            html = StaticContentManager.GetStaticContent(_contentType);
        }
        catch (Exception ex)
        {
            Response.Redirect("~/page/public/error.aspx");
        }
    }
}
